Topology information system for a managed world

ABSTRACT

A topology information system, comprising a topology collection sub-system, a topology database, a topology query sub-system and a topology correlation sub-system. The topology collection sub-system includes at least one topology discovery agent. The topology collection sub-system automatically collects topology information from at least one topology layer of at least one managed world. The topology database is adapted to store the topology information collected by the topology collection sub-system. The topology query sub-system is adapted to query the topology information stored in the topology database using a topology pattern query created by a user. The topology correlation sub-system operates in parallel to the topology query sub-system, constantly monitoring the managed world for events and updating the Information Base accordingly.

[0001] This Application claims priority from a co-pending U.S. Provisional Application Serial No. 60/255,123, titled “A system for enabling Automatic Application Pattern Recognition”, filed Dec. 14, 2000, the contents of which are incorporated herein by reference.

I.A. FIELD

[0002] This disclosure teaches novel techniques for developing a topology information system for a managed world. An example of such a managed world is a business information technology (IT) infrastructure. Specifically, the topology of the managed world is comprehensive. In the example of the business IT infrastructure includes hardware, software as well as applications programs. A skilled practitioner would know that the comprehensive managed world of a business IT infrastructure could include multiple topology layers at least including Networks, Protocols, Servers, Operating Systems, Databases, Queuing, Web Servers, Information Models, Processes etc.

I.B. BACKGROUND

[0003] An issue in Network & System Management (NSM) relates to the need to manage Business Services within the managed world of a business IT infrastructure. A Business Service is a specific example of a topology pattern within the business IT infrastructure. As noted above, a business IT infrastructure is an example of a managed world. A Business Service represents a set of cooperating technology components enabling the operation of a specific function within the Business. It can include multiple topology layers, including, Networks, Protocols, Servers, Operating Systems, Databases, Queuing, Web Servers, Information Models, Processes etc.

[0004] It should be noted that the term Business refers to any type of business and is not restricted to commercial or any other specific types of business. For example, business could mean a financial operation (commercial banks, investment banks, trading companies, etc). On the other hand, business could also mean a technical operation. For example, a chemical or a biotechnological process could be a business.

[0005] It should be clear to a skilled artisan that an application, for example, a biotech process, could be modeled as a managed world. In such a case, the topology layers could also include the components (topology objects) of the biotech molecule. All such applications are also contemplated to be within the scope of the disclosed teachings.

[0006] In short, the disclosed teachings could be used in any field of application, including but not limited to scientific, commercial, etc, where a topology graph (as the term is used in graph theory) can be used to model (or represent components in) the application.

[0007] 1. Definitions

[0008] To better understand the teachings in this disclosure, a set of definitions are provided herein:

[0009] Managed World==any self-contained environment that can be described using a topology model

[0010] Topology Layer==a sub-set of topology objects within the Managed World having a common classification

[0011] Topology Pattern==a unique architecture of topology classes within a managed world inclusive of all connections and interdependencies (e.g., a business service)

[0012] Event ==some change that occurs in the Managed World

[0013] Topology Object==any member of a class that exists within the topology of the Managed World

[0014] Viewing Layer==a two-dimensional arrangement of topology objects for the purpose of viewing by a user

[0015] In this context, managing a Business IT Infrastructure as a representative example of a managed world includes at least the following functions:

[0016] 1. Discovery and population of the Information Technology (IT) components and the relationships between them.

[0017] 2. Recognition of all the relevant components of each topology pattern. As noted above, this includes all the topology layers including those related to hardware, software and components.

[0018] 3. Viewing of the objects with the topology pattern inclusive of all relationships.

[0019] 4. Monitoring the topology objects Performance and Availability.

[0020] 5. Remotely control the topology objects within the Business IT Infrastructure.

[0021] Any topology information system (TIS) should solve the first three functions including discovery, recognition and viewing of topology objects and topology patterns within the managed world. The disclosed techniques are aimed at implementing a Topology Information System as well as other functions that provide a comprehensive solution for such applications as Business Service Management.

[0022] Potential users for such a system include, but are not limited to: Enterprises, Telecommunication companies, Service Providers, Business Service Management Solution Vendors, Management Application Vendors, Management Service Providers, Integrators, Scientists and the Intelligence community.

[0023] I.C. Current Solutions (Business Service Management)

[0024] 1. Discovery

[0025] Conventional solutions use combinations of centralized discovery for network topologies and agents for system and applications monitoring. Such solutions cannot discover more advanced topologies such as queuing architectures, middleware, etc.

[0026] 2. Pattern Recognition

[0027] Conventional solutions can only discover the objects of a managed world but cannot recognize the topology pattern itself within a managed world. This deficiency becomes increasingly problematic as the size of the managed world grows and the quantity of topology objects and events increases to an unmanageable level.

[0028] 3. Viewing

[0029] Conventionally, the problem with viewing a set of topology objects involves at least three 3 methods:

[0030] 1. Automatic—Layout Algorithms that automatically set the (x,y) coordinates of each object in the view.

[0031] 2. Fixed Logic—Use of Fixed Logic to organize the objects, e.g. Group of Computers by Networks, Group of Interfaces by Network Devices etc. The objects on each viewing layer are presented using the Automatic Layout algorithms noted above.

[0032] 3. Manual—Users manually group objects together in the view according to some selection criteria, e.g. By Cities, By Building, By Logic Grouping, By Business Services etc.

[0033] A viewing method available is the Hyperbolic View. The Hyperbolic View can portray the knowledge base as a sphere that “zooms in” (like a magnifying glass) in the center of the view and becomes smaller along the edges. Users are able to browse the world by changing the center point and see more details on different parts of the sphere.

[0034] It is clear that as the number of topology objects increases in the typical managed world, the manual method becomes highly inefficient. Users find themselves with hundreds of topology objects in a single viewing layer after completing the Fixed Logic method. On the other hand, even if the users end up doing a good job manually, their results are hard to maintain and limit other users, perhaps who are not as skilled, from presenting the same knowledge base according to their needs or point of view. It will be advantageous to have techniques that overcome some of the above-mentioned problems.

II. SUMMARY

[0035] To overcome the problems noted above, there is provided a topology information system, comprising a topology collection sub-system, a topology database, a topology query sub-system and a topology correlation sub-system. The topology collection sub-system includes at least one topology discovery agent. The topology collection sub-system automatically collects topology information from at least one topology layer of at least one managed world. The topology database is adapted to store the topology information collected by the topology collection sub-system. The topology query sub-system is adapted to query the topology information stored in the topology database using a topology pattern query created by a user.

[0036] Another aspect of the disclosed teachings is a topology query language (TQL) system for querying a topology database. The TQL system comprises at least one TQL pattern.

[0037] Also important in the disclosed teachings is the topology correlation sub-system for distinguishing between the “casual” and “affect” objects of a fault or problem within the managed world. The topology correlation sub-system operates in parallel to the topology query sub-system, constantly monitoring the managed world for events and updating the Information Base accordingly.

[0038] Yet another aspect of the disclosed teachings is a topology viewing sub-system adapted to display at least a view of a topology data. The system comprises at least one display rule. The display rule is capable of organizing views corresponding to the topology data in multiple layers.

III. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The above objectives and advantages of the disclosed teachings will become more apparent by describing, in detail, preferred embodiments thereof with reference to the attached drawings in which:

[0040]FIG. 1 shows an illustrative example of a topology information system that embodies the disclosed teachings.

[0041]FIG. 2 shows a managed world learning process that embodies the disclosed teachings.

[0042]FIG. 3 shows an example of an information base as it might exist on top of a topology database.

[0043]FIG. 4 shows an example of a TQL.

[0044]FIG. 5 shows an example of the service knowledge that is a the management view generated after the topology pattern defined using TQL of FIG. 4 is applied to the information base of FIG. 3.

[0045]FIG. 6 shows an example of a context sensitive TQL.

[0046]FIG. 7 shows a second example of a TQL Rule.

[0047]FIG. 8 shows an example of a Group By rule.

[0048]FIG. 9 shows an example of a Folder rule.

[0049]FIG. 10 shows an example of a multiple-Folder rule.

[0050]FIG. 11 shows an example illustrating the power of the disclosed root cause utility.

[0051]FIG. 12 shows an example of an event TQL.

[0052]FIG. 13 shows an example of a single TQL Node.

[0053]FIG. 14 shows an example of a TQL Max(0) Operator.

[0054]FIG. 15 shows an example of TQL Edges.

[0055]FIG. 16 shows an example of an IP Route function.

[0056]FIG. 17 shows an example of Layer2 trails.

[0057]FIG. 18 shows an illustrative self-explanatory example deployment of an example system embodying the disclosed teachings.

[0058]FIG. 19 shows an example of Topology Rules.

IV. DETAILED DESCRIPTION

[0059] An exemplary embodiment of the disclosed teachings is a Topology Information System (or TIS) shown in FIG. 1 and is described further herein. It integrates, manages and displays all of the topology objects within any managed world. For example, such a Topology Information System can be used for multiple purposes within any business enterprise from comprehensive applications management to intelligent asset management to complete business service management—as required. FIG. 18 shows an illustrative self-explanatory example deployment of such an example system.

[0060] The Topology Information System, described herein, involves five (5) collaborating sub-systems:

[0061] Topology Collection Sub-system 1.1

[0062] Topology Database 1.2

[0063] Topology Query Sub-system 1.3

[0064] Topology Correlation Sub-system 1.4

[0065] Topology Viewing Sub-system 1.5

[0066] The Topology Collection Sub-system 1.1 includes a wide array of Topology Discovery Agents (TDAs) that automatically collects real-time topology information from the managed world, storing it within the Topology Database. The managed world can be any self-contained that can be described using a topology model and consists of one or more instances of objects (belonging to various object classes). It should be noted that the terms objects and object classes refer to their ordinary meaning as used in objected-oriented architecture.

[0067] The Topology Collection Sub-system is self-maintaining through its ability to interrogate the TDA Proxies and automatically deploy additional TDAs and TDA tasks when new object classes are discovered in the enterprise topology or removing TDA tasks for objects that have been decommissioned. The collection sub-system can be extended by the user through the ability to define and customize dynamic rules for TDAs to collect information from SNMP Agents, SQL databases, HTTP servers, etc. in the case of the business IT infrastructure application. The Topology Collection Sub-system can also integrate the topology information gathered from external “agents” and “data sources” used with existing frameworks (e.g., BMC Patrol™, IBM Tivoli™, Concord SystemEdge™, HP Openview™, CA Unicenter™, etc.) already deployed throughout the enterprise—maximizing existing investments while minimizing the impact of the topology information collection process.

[0068] Once the Topology Database for a managed world is established, the Topology Query Sub-system, dynamically queries the topology information in the database using the topology patterns created by the user with the Topology Query Language (TQL). Each of these topology patterns represents a unique architecture of topology classes within a managed world inclusive of all connections and interdependencies (e.g., a business service). These patterns expressed in the TQL are easily created with the drag-and-drop TQL Builder. The object-oriented nature of TQL enables the TQS to automatically recognize and adapt to any changes in the managed world, eliminating the need for any further maintenance. These TQL patterns enable the unique learning process within the Topology Information System that results in the creation of a dynamic knowledge-base of the entire managed world.

[0069] The Topology Correlation Sub-system operates in parallel to the Topology Query Sub-system, constantly monitoring for events from the managed world and updating the Information Base according to these events. The Topology Correlation Sub-system can immediately identify the root cause of any problem within the managed world in part because of the knowledge of topology patterns contained within the Knowledge Base.

[0070] At the user level, the Topology Viewing Sub-system can tap into the dynamic knowledge base created by the Topology Query Sub-system to display any view of the topology required. A key part of the Topology Viewing Sub-system is its powerful display rules that enable the user to easily create personalized views of any set of topology objects within the managed world. An added benefit of the object-oriented nature of the Topology Viewing Sub-system display rules means that users are finally free from the costly effort of maintaining such custom views. Once defined, each personalized view is self-maintaining, thereby adapting to any change in the managed world's topology.

[0071] In summary, the TIS enables the manipulation of the topology objects from the managed world. The “manipulation” includes Populating the Information Base, Storing the Information, Querying the Information Base to build the Knowledge Base and Organizing the Knowledge into manageable views.

[0072] I.A. Topology Database

[0073] The Topology Database is an Object-Oriented Graph of Objects (Vertexes) and Links (Edges), known as G(V,E) in Graph Algorithm Theory. Each Object or Link is from a specific Class that has Class attributes and behaviors (Presentation, Events, Commands etc.). These Class definitions are known as Topology Database Class Models. Each Class Model is unique per managed world while totally flexible and configurable by the TIS user. A Class Model can include topology objects, links and all available relationships between topology objects in the managed world.

[0074] The Topology Database is multi layered, e.g.: the same database can store multiple Class Models. In practice, the TIS itself is multi-layered, e.g. The Information Base, the Knowledge Base and the Views, all of which are described below, are stored as multi-layered Topology Databases. The Topology Database can be implemented as a stand-alone database or layered upon a relational database. The Topology Database is a unique database technology, comparable to other well-known database technologies such as the Relational Database, Object Database, XML Database, etc..

[0075] The following are logical models of the Topology Information System defined using the Topology Database technology.

[0076] I.B. Information Base

[0077] The Information Base establishes the necessary differentiation between the multiple environments across which the TIS can be implemented. The Information Base stores instances of the TIS Extendible Class Models. The Information Base is populated by Agent technology (from the Topology Collection Sub-system) that has at least some of the capabilities listed herein.

[0078] Agents are able to discover all kinds of Objects and Links within the Information Base Class Model.

[0079] Agents are able to monitor the Attributes of those Objects in real-time.

[0080] Agents are distributed and are hot deployed according to TQL (describe in subsequent sub-section) Triggers.

[0081] Dynamic Rule Agents can be configured to discover new classes of information from standard resources (SNMP Agent, SQL Data Sources, etc.).

[0082] Agents can interface with other Agents and populate the Information Base with the information collected by these “other” Agents.

[0083] The library of Agents is extendable through the availability of a Software Development Kit (SDK).

[0084] I.C. Knowledge Base

[0085] The heart of the Topology Information System is its ability to transform the topology objects contained within the Information Base into knowledge according to one or more topology patterns. These topology patterns are defined by the user with the Topology Query Language (TQL). TQL is an extension to the Structured Query Language (SQL) that enables the definition of topology/graphic queries capable of selecting specific topology patterns from within any Information Base. By defining the topology patterns in the TQL, the user essentially “teaches” the TIS about each topology pattern. The transition from Information Base to Knowledge Base is then complete when the Topology Query System “learns” about each topology pattern by querying the Information base using each pattern expressed in TQL.

[0086]FIG. 3 demonstrates the complexity of the typical Information Base as it might exist on top of Topology Database. While the details in FIG. 3 are not important, from this complex figure it becomes obvious that some filtering language is required to facilitate effective management by a human operator of this topology.

[0087]FIG. 5 is the management view generated after the topology pattern defined using TQL is applied to the Information Base shown in FIG. 3. This particular example in FIG. 5 demonstrates the service view of a typical intranet service. The ‘core’ of the service is a web portal that few users in the enterprise use. Those users are so important to the portal management team that they want to take care on their intranet/internet basic services as well. The service view includes all the relevant resources for the operation of the portal users, including their DNS, Mail and the portal itself. Should a problem arise in the network infrastructure, the DNS, the Mail servers or in the portal web servers the root cause of problem will be highlight immediately in this focused view.

[0088]FIG. 4 shows how easy the definition of the above Intranet Service view can be using TQL. The only thing the user needs to define is the “class architecture” of the service using functions like the route( ) function in the picture, without a priori knowledge of the actual output of that “class architecture” such as that shown in FIG. 5.

[0089] I.D. Viewing Sub-system Display Rules

[0090] The Display Rules organize any set of topology objects automatically thereby solving the problem of the manual method. These display rules exceed current auto-layout algorithms for displaying objects in one viewing layer, with their ability to display objects in multiple viewing layers, including the automatic generation of those layers. The basic assumption is that each Object and Link is from a specific class (e.g. NT, Unix, IP, interface, disk, parent, dblink, NFS, etc.) with multiple attributes (e.g. name, ip address, physical address, processid etc.). Using that assumption, Display Rules are created that are easy to define, modify and generate the customized views required by a user automatically rather than manually. In addition, the user is able to personalize the setup of each icon, label, status, event or command of each topology object per service view or the layout of any viewing layer.

[0091] The TIS supports one or more of the rules described herein for organizing any set of topology objects.

[0092] 1. Link Rules definition

[0093] Link rules define the links that create new viewing layers in the view. By default, both sides of the link are in the same viewing layer.

[0094] In addition, the link rule indicates:

[0095] 1) Who is the “Parent” in the relation—End1 or End2.

[0096] 2) If the “Child” should be presented in the “Parent” layer as well.

[0097] 3) If the “Parent” should be presented in the “Child” layer as well (Brother).

[0098] 4) Link rules can be used to tell the system to ignore viewing the child as well (Used in circular graphs)

[0099] The TIS Display Rules define three (3) types of link rules:

[0100] A. Independent Link Rules

[0101] B. TQL link Rules

[0102] C. Indirect Link Rules

[0103] 2. Independent Link Rules

[0104] Independent Links are always in the format of a triangle. The definition of an Independent Link is as follows:

[0105] End1_Instance.Link_Instance.End2_Instance

[0106] Where,

[0107] End1_Instance==

[0108] End1_Class:Attr1,Value1:Attr2,Value2: . . . : Attrn,Valuen

[0109] Link_Instance==

[0110] Link_Class: Attr1,Value1: Attr2,Value2: . . . : Attrn,Valuen

[0111] End2_Instance==

[0112] End2_Class: Attr1,Value1: Attr2,Value2: . . . : Attrn,Valuen

[0113] It should be noted that Independent Link Rules can exist outside of the context of the TIS.

[0114] 3. TQL Link Rules

[0115] TQL Rules assume that a TQL has already been generated (See the TIS definition). “TQL Link” rules are defined based on the relationships in the TQL. The difference between TQL relationships and independent links is that the TQL rules are context sensitive, for example, as shown in FIG. 6.

[0116]FIG. 6 shows the TQL definition of a printing service that includes all the network printers in the enterprise, the users that print on each printer including the network object of the users and printers and the Network Interface Card or NIC (IP, Mac etc.) object of the users. The output of that TQL may include thousands of printers, users, networks and NICs. The Display Rules enable the manager to organize this example printing service in manageable views.

[0117] In the top-layer the manager (of the management system) can see the networks to be managed

[0118] Clicking on each network the manager can see the Printers on that network

[0119] Clicking on each printer the users that print on that printer will be revealed, and can even be from multiple networks.

[0120] Clicking on each user computer (Host), the manager can see the specific computer NIC.

[0121] A second example of a TQL Rule is shown in FIG. 7. FIG. 7 shows a higher-level business service that includes the core database with a SAP user. This class of user is used to filter the SAP database from all of the databases in the Information Base and those select users that connect to that database and in parallel print reports to network printers. The top-layer view of that business service includes all the database servers that match that TQL. Clicking on each server, the manager can see the database and the users connected to that database. Clicking on the user computer, the manager can see the printer(s) used by the service user and the processes (applications) that connect that user to the database.

[0122] 4. Indirect Link Rules

[0123] Indirect Link Rules enable the user to define links that do not exist in the Information Base by providing the “path” of classes that define “virtual links” between topology objects. They correspond to All the dashed links that don't have parallel links in FIG. 7, FIG. 9 and FIG. 10.

[0124] 5. Group By

[0125] The “Group By” rule associates an attribute (or the Class of the child) to a specific Independent Link or TQL Link Rule in order to create a new viewing layer. An example of a Group By rule is shown in FIG. 8.

[0126]FIG. 8 shows the concept of the “Group By” Display Rule using a simple TQL based upon the database and the users in the topology that connect to that database. The number of users may be too large to manage in one layer so a manager may want to group them by their locations. The “Group By” Display Rule enables grouping classes by any attribute, such as the SNMP SysLocation attribute. In the top-layer of this example service view are the database servers, clicking on each server the Manager can see the database, clicking on the database the manager can see the group of locations and by clicking on each location the manager can see the service users that connect to the database from that location.

[0127] 6. Folders

[0128] Folders virtually expand the Information Base as part of the Display Rule process. The extended Information Base helps to organize the knowledge better. This can be a recursive process whereby the Information Base can itself be expanded as part of the process of defining and using Display Rules. The example rule shown in FIG. 9 illustrates a folder. The example rule shown in FIG. 10 illustrates multiple folders.

[0129] The VLAN object in FIG. 9 is not part of the initial Information Base since the Class Model doesn't yet include the class VLAN. In order to manage network switches (hubs) by VLANs, the Display Rules allow the manager to create Folders by any object attribute (e.g., the card VLAN attribute in the example) and use them as standard objects in the TQL, defining new TQL Display Rules that include them. The top-layer of the resultant service view are all the VLANs, by clicking on each VLAN the manager can see the switches and users on that VLAN and by clicking on the Switch or the user computer the manager can see the relevant network cards.

[0130]FIG. 10 is similar to FIG. 9 with the addition of the netaddr Folder. This additional netaddr Folder enables the manager to manage all of the network devices beginning with the networks (netaddr) on the top-layer and then the VLANs, Switches & Computers and Cards.

[0131] 7. Generic Display Rules

[0132] Generic Display Rules allow the manager to generate multiple layers in the service view that are very manageable without comprehensive knowledge of the managed service based upon the output of the TQL. The TIS supports some of the following parameters:

[0133] 1) Max number of Objects in map (M)—Indicates that the manager prefers to see no more than the quantity (M) of objects under the Max number of objects constraint.

[0134] 2) Maximize Objects in Map (True/False)—Indicates that the manager prefers to see more information than less (may be in conjunction with the Max objects constraints). If the number of objects in the map is small, the manager wants to see the bottom layers in their parent layers.

[0135] 3) Sort by attribute—If M exceeded sort and group objects by some attribute (See the Group By and Folder options).

[0136] 4) Class weights—Give each Class a specific weight and use it to select the preferred objects in each layer (Using some internal algorithm).

[0137] 5) Link weights—Give each Link a weight and use it to select the preferred objects in each layer (again, using some internal algorithm).

[0138] Class and Link Weights enable the user to select the most important objects that will be presented in the top-most layers of a view. For example, if all the weights are 1, the most connected objects will be presented in the top-most layers.

[0139] It should be noted that the display rules described herein are only illustrative. Any available display rules that enable the automatic organization of any set of topology objects are within the scope of the disclosed teachings.

[0140] I.E. Event Correlation

[0141] An important aspect of the disclosed teaching is the TIS event correlation that is described herein. The TIS event correlation is performed by the Correlation sub-system 1.4.

[0142] 1. The Problem

[0143] “Event Correlation” is a well-known issue in the NSM market. NSM “monitors” standard method for event correlation can generate a huge number of “events” indicating that something, somewhere in the managed world has happened. However, these NSM monitors generate such a large quantity of seemingly random events that the user cannot effectively understand or manage in such an “information overload” environment.

[0144] Any reasonable solution to this problem requires significantly reducing the amount of events and notifying the user just about the root cause(s) of the problem(s) that generated the events

[0145] The TIS Event Correlation sub-system improves upon the conventional NSM monitor method by converting Events to Objects and manipulating them as part of the Information Base. It then uses the knowledge of all the connections in the Information Base to identify the root cause(s) of problem(s). This knowledge makes it possible for the TIS Event Correlation Sub-system to understand highly complex scenarios of events and pinpoint the root cause of a problem within the managed world.

[0146] 2. Description

[0147] The TIS Event Correlation sub-system is composed of some of the following components:

[0148] 1. Event Rules—User defined rules that control the Event life cycle.

[0149] 2. Time Rules—Internal scheduler that control the Events and “regular” objects and links life cycle.

[0150] 3. Topology Rules—User defined rules on the Information Base relationships.

[0151] 4. Root Cause Detection Utility—based on the output of the Topology Rules.

[0152] 5. Events TQLs—Event Rules transform events from “Event” format to “Object” format with the “Container” link to the parent object. Event TQLs enable the definition of complex scenarios of events using TQL patterns.

[0153] Each of the components is described herein in further detail.

[0154] 3. Object State Management

[0155] The TIS handle Events, Objects and Event Objects. To do so, each event is referenced to some object (by the Object field in the Event). Event Rules are used to create and handle Event Objects as children of the referenced objects. One of the basic fields of any Event is its Severity. Event Severity can be expressed as any non-negative integer. Any object in the TIS can have 3 states: Operation State (or just State), Correlation State and Administration State. The Administration State is managed by external systems (Users, Collection System etc.), the Correlation State is controlled by the Topology Correlation Sub-system (especially in the Topology Rules) and the Operation State can be setup directly or computed automatically according the following definition:

[0156] Event Object State==The Event Severity

[0157] Object State=Maximum Event Object State of the Object (where the Event Object is Active)

[0158] Event Objects can be Active or InActive for Historical use.

[0159] 4. Event Rules

[0160] The Event Rules component controls the life cycle of Events from their Event stage to Event Object Stage (whether Active or InActive) and within their Event Object Stage. Event Rules actions enable the subsystem to create, remove, clear and modify Event Objects, as well as modify their parent object. Event Rules utilize one or more of the Event Actions: Simple Actions and Functions. Which Event Action is invoked is determined by the first Event Selector (Event, Object or Container Selector) whose condition is true.

[0161] a) Simple Actions

[0162] Simple Actions are the basic operations on the Event and all of the other events on the same object. Some of the Simple Actions that may be performed by Event Rules include:

[0163] Skip—don't convert the Event to an Event Object

[0164] Log—Log the Event in the History Database

[0165] Continue to next rule (By default the Event Correlation engine exit after the rule)

[0166] Create—Create a new Event Object from the raw Event

[0167] Recreate—Update all fields, Set isActive=True and Increment the Create Counter

[0168] Time—Update the Event Object Timestamps

[0169] Last—Update the Last Timestamps

[0170] Replace—Update the Event Severity field and the Replace Counter

[0171] Message—Update the Message Section of the Event

[0172] Count—Increase the Event Count field

[0173] Reset—Reset the Event Count field (Value==1)

[0174] Clear—Deactivate the Event Object (Set isActive=False)

[0175] Clear All the Event Objects of the same Container

[0176] Remove—Remove (delete) the Event Object

[0177] Remove All the Event Objects of the same Container

[0178] Acknowledge All the Event Objects of the same Container.

[0179] b) Functions

[0180] Functions require parameters as part of the Action definition. Parameters can be static or dynamically calculated from the event fields. Functions enable the manager to control the event fields, other events, the container object attributes etc. Some of the Functions that need to be performed by Event Rules include:

[0181] Set Field (Index, Rule)—Set one of the Event Custom Fields

[0182] Clear Other (EventdID)—Use one Event to Clear other Event Object in the same Container Object

[0183] Remove Other (EventID)—Use one Event to Remove other Event Object in the same Container Object

[0184] Set State (Value)—Set the state of the Container Object

[0185] Set Corr State (Value)—Set the correlation state of the Container Object

[0186] Set Container (Attribute, Value)—Set attribute of the Event Container Object.

[0187] c) Event and Object Selectors

[0188] Event and Object Selectors select which Action will be executed based upon the first matching selector. The Event Rule Table defines the Event Actions using the Event fields and the Event Object fields (if these already exist, otherwise the Object is Null). The following are some of the pre-defined Event Rules: TABLE 1 Event Rules Event Selector Action Event · Object = Null Skip Event · Subsystem NOT IN (World, Skip Collection) Event · Severity = 1 (Normal) Clear Last Event · SUbSystem = World Clear All Event · Eventid = AdminStateChange Create Event · Severity = 12 {Unknown} Event · Subsystem = World Clear All Event · Eventid = StateChange Create Event · Severity = 10 {Down} Event · Subsystem = World Acknowledge All Event · Eventid = CorrStateChange Create Event · Severity > = 5 Object = Null Create Object · IsActive = False Recreate Event · Severity = Object · Severity Replace Time Reset Event · Message = Object · Message Message Last Event · Severity = Object · Severity Count Last

[0189] d) Container Selectors

[0190] Container selectors use (in addition to the Event and Object Selectors) the attributes of the container object of the event (The object that the event points to).

[0191] For example: Container.AdminState !=0 (Manage)→Skip

[0192] 5. Time Rules

[0193] Unlike Event Rules that are triggered by incoming events to the system, time rules run periodically and maintain the existing event objects and objects (Escalate their severity, Clear events, Remove event objects, Remove objects, etc.) The Time Rules produce the Time Actions that include:

[0194] a) Event Handler

[0195] Escalate the Event Severity

[0196] Clear—Deactivate the Event Object (Set isActive=False).

[0197] Remove the Event Object

[0198] b) Object Handler

[0199] Delete objects

[0200] The Time selector uses the class of the object as the source of the rule. Event handling is done using the Event class. Time Rules used in addition to the Now timestamp.

[0201] The following are some of the Pre-defined Time Rules: TABLE 2 Time Rules Selector Action Event · IsActive = True Clear Now − Object · LastTimestamp > 24*60 Event · IsActive = False Remove Now − Object · ObsoleteTimestamp > 7*24*60 Event · IsActive = True Escalate Object · Severity < 9 Now − Object · LastTimestamp > 3*60 IP · State = 10 {Down} Delete IP · UpdateTime > 7*24*60 Process · State = 10 Delete Process · UpdateTtme > 60 Object · State = 10 Delete Object · UpdateTime > 30*24*60

[0202] 6. Topology Rules

[0203] The Topology Rules propagates the Object States (Operation and Correlation) to its neighbors according to predefined weights defined in the Topology Rule Triggers. The propagators of the Object States are the links that by definition connect two objects (store the affected correlation state either in End1 Correlation or End2 Correlation). Link End1 Correlation == Max ( End1 State * State Weight, End1 Correlation * End1 Correlation Weight Where End1 is the Trigger in the Topology Rules Table) Link End2 Correlation == Max ( End2 State * State Weight, End2 Correlation * End2 Correlation Weight Where End2 is the Trigger in the Topology Rules Table) Link Correlation State == Max (Link End1 Correlation, Link End2 Correlation) Object Correlation State == Max ( Links End1 Correlation where it is the End2 of the Link, Links End2 Correlation where it is the End1 of the Link )

[0204] The Topology Process steps are:

[0205] 1. The Trigger Object of the Topology Rule is triggered

[0206] 2. The Topology Rule Links Correlation States are recomputed.

[0207] 3. For each link, if the Link End1 Correlation State has changed, the Link End2 Object Correlation State is recomputed.

[0208] The Triggered objects as well as the links that are affected by state changes of those objects is defined by TQL Triggers (Similar to the TDA Triggers of the Collection Sub-system). FIG. 19 shows some examples of such Triggers.

[0209] The gray objects are the triggers; the effective weight of the state change is defined on the links (XX %).

[0210] 7. Root Cause Detection Utility

[0211] The ability to detect in real time the root cause of problems is one of the major challenges of management solutions. The Root Cause utility of the Topology Correlation Sub-system uses the Information Base and the Correlation states to address this challenge. This utility is used to either send out specific problem notifications for real problems or by users that browse the Service Views and want to see the root cause of the problematic (“colored”) objects (usually the root cause of the problems in the map are not part of the same view). The Root Cause utility is an API that the Topology Correlation Sub-system exports. The input to that interface is an object that has some problems and its output is an object (typically) that is suspected of being the root cause of the problem.

[0212]FIG. 11 shows a snapshot of the Topology Database with the path between the problem's root cause (the failed IP) to the problem that the user wants resolved (the Database problem). The path includes the Database, tablespace, datafile, filesystem, remote filesystem, remote host and the failed IP. FIG. 11 shows the Database host (Unix), its IP and its router that may be the cause of the same problem but not in this case (Their State is 0-OK). Such analysis and utilities are available because of the Topology Database and the Topology Correlation rules.

[0213]FIG. 11 demonstrates just one Root Cause object for a specific problem but in actual deployments a few objects may be suspected as the root cause objects. The Root Cause API enables the user to get:

[0214] The system preferred object—using the weakest link method

[0215] A list of suspected objects

[0216] The correlation chain to the suspected object/objects

[0217] Other ways based upon the knowledge gained from the topology rules

[0218] 8. Event TQLs

[0219] Event TQLs are TQL patterns that are defined by combination of objects and event objects. The transformation of events to objects enables to detect complex situations. The consumers of that feature are users that don't want to browse the service views and are interesting just on being notify when something happened. When Event TQL is detected (the result is not null) specific Event is sent and the user is able to catch it for his notification purposes (using the Event Notification option). When the Event TQL is no longer active (the result is null again) clear Event (the same event with severity NORMAL) is sent to notify its consumer again. In addition, like any TQL, the consumer is able to query the runtime objects and event objects that triggered the Event TQL.

[0220] The Time Rules enable the manager to control how long Obsolete (IsActive=False) Events will stay in Object mode. This control enables the manager to create Event TQLs that correlate between Events in different times.

[0221]FIG. 12 shows the TQL definition of a complex scenario. The event “Db Connection Failed” is generated by the ntservice that its process (dbclient) connects to the account database. The Topology Collection Sub-system discovers and automatically maintains the paths between the dbclient host to the database host. The relevant class model classes are the trail object, the target link and the depend link. The routers that me maintains may or may not be in the path between the client to the database, if they are, me will be notified.

[0222] I.F. TQL Language Specification

[0223] Herein, an exemplary embodiment of a Topology Query Language (TQL) that is part of a TQL system is discussed. TQL is a unique language that extends the functionality of the standard SQL—Structured Query Language to the domain of Topology Databases. The purpose of TQL is to make queries easy and intuitive, to let the client define complex relationships and conditions in the most symbolic and simple way that is close to client's view of his data.

[0224] It should be noted that the specific TQL patterns and their syntax discussed herein are only illustrative. Any topology language that can query a topology database is within the scope of the disclosed teachings.

[0225] 1. Fundamentals

[0226] Owner each TQL has an owner that is the TQL creator and controller (Shares, Access control etc.).

[0227] Node/Vertex defines group of objects that share common attributes.

[0228] Edge defines a group of conditions unifying dependency between nodes.

[0229] TQL composed of Nodes and optional Edges—For each TQL the TQL subsystem assigns a unique TQL Id (Used in TQL Changes Events and TQL Queries).

[0230] Node Id/Edge Id—each Node/Edge is labeled with a unique number, each Topology Object/Link result will be attached to this Id.

[0231] Tag—list of Nodes/Edges that are marked with symbolic name, the same node may appear in more then one tag. Tags denote specific knowledge of the TQL pattern that can be used by users that browse the output of the TQL pattern (i.e., the managed Business Service). Example of Tags can be: TierX, Server, Client, CriticalService etc.

[0232] 2. Single TQL Node

[0233] An example of a single TQL Node, which is shown in FIG. 13, enables the manager to create a Structured Query very similar to the Structured Query Language (SQL). For example:

[0234] SELECT ALL OBJECTS WHERE CLASS ATTRIBUTE IS ‘NT’ (without inheritance) AND WHERE NAME ATTRIBUTE STARTS WITH ‘a’ AND WHERE SYSLOCALTION ATTRIBUTE is ‘New-York.

[0235] 3. TQL Lib

[0236] The TQL Lib stores all the defined TQLs for future use (Views, TDA Triggers,Topology Rules, etc.)

[0237] The following identifies each TQL in the lib:

[0238] Owner

[0239] Name

[0240] Version

[0241] Description

[0242] 4. Operators

[0243] a) Class Operators

[0244] ==-Exact equation

[0245] =-Derived classes (default)

[0246] b) Single Attribute Operators

[0247] Attribute <op> Value. Available operators:

[0248] =

[0249] >

[0250] <

[0251] >=

[0252] <=

[0253] !=

[0254] Like

[0255] !Like

[0256] In (a..b, c..d)

[0257] Size (Applicable for attribute lists only)

[0258] Any other SQL operator

[0259] c) Object Statistics Operators

[0260] Used to select chosen objects.

[0261] Max( )—Select the object that have the maximum value in the specified context

[0262] Top(N)

[0263] Min( )

[0264] Average( )

[0265]FIG. 14 shows an example of a The TQL Max( ) Operator. The TQL defines those Hosts connected to ServerPort with a link of Class ClientServer. The Topology Collection Sub-system maintains for each ClientServer link the number of sessions from the Host to the Server (the user may open a few sessions to the same server). The max( ) operator enables the manager to see only the Hosts with the maximum session counter to each ServerPort. (e.g., if the maximum session counter is 3, all hosts with 3 sessions are viewed)

[0266] d) Attributes' Expressions Operators

[0267] For example: attr1>=attr2+attr3.

[0268] e) The Any Operator

[0269] The Any operator is similar to the Group By in SQL. Using the Any operator in TQL node cause to pre compiling process that creates multiple TQL patterns as children of the parent TQL. The consumer gets the output in bulks per child.

[0270] For example (Very simple TQL)—Host: Class=Any will create the following TQLs:

[0271] Host: Class=‘NT’

[0272] Host: Class=‘Unix’

[0273] Etc.

[0274] f) Variables & References

[0275] TQL Variables and References enable to connect the attribute values of different values within a TQL node or among multiple TQL nodes.

[0276] For example:

[0277] If we have the following TQL:

[0278] Host.Container.Object.Link.Object.Container.Host and we want that the Object.Link.Object link will be between objects on different hosts, we will use the variables option the following way:

[0279] Host: Name=X.Container.Object.Link.Object.Container.Host: Name!=X

[0280] g) Edges

[0281] Edge connects two nodes in the graph.

[0282] Edge may have a direction.

[0283] Graph Edges connect objects from different TQL nodes.

[0284] Inner Edges connect objects that are results of the same TQL node.

[0285] Real Edge—real world (data) links

[0286] Edge Function—Pre defined function that its output may be number of objects and links

[0287] Edge Constraint—Additional optional constraints on the edge definition (Simple definition include class, attributes, direction etc.) For each Edge end there might be a constraint on the number of links that an object must have with its neighbor.

[0288] Edge Constraint Examples:

[0289] 0 . . . N—Accept Objects with up to N specify links to their neighbors

[0290] M . . . *—Accept Objects that have at least M specify links to their neighbors.

[0291] 0 . . . 0—Accept Objects that don't have any specify link to their neighbors.

[0292] 1 . . . *—Accept Objects that have the specify link to their neighbors.

[0293] 0 . . . *—Accept Objects without limit on their neighbors.

[0294]FIG. 15 shows an example of TQL Edges.

[0295] Edge id 1—Select links that their class attribute is TCP or it's descended, and band attribute is grater then 1000. Links ends should be one of object of node A and the other object of node C, the direction is not relevant.

[0296] Edge id 2—Select links that their class attribute is Parent and abc attribute is in range [10 . . . 12, 15 . . . 18]. Links must be directed from object of node B to object of node A (end1 belongs to B and end2 belongs to A). This link condition adds a constraint to groups A and B. Only objects of A and B that are linked by this link will be able to take a part of the result. The links themselves won't be shown (Hidden=True).

[0297] Edge id 3—Select all links between objects of nodes B and C without any condition.

[0298] h) Edge Functions

[0299] Edge Functions are group of pre-defined rules that define a relationship between two nodes objects. Edge functions can be applied on specific edge or as global requirement on the TQL result (On all objects that their classes applicable to the function).

[0300] Edge functions can be computed ad hoc without connection to specific TQL.

[0301] (1) Host (Object)

[0302] Input: Object

[0303] Output: The host of the object

[0304] (2) Link N (or Link*)

[0305] Input: Source object, Link class definition

[0306] Output: Paths to all the objects that are the N neighbors of the Source object using Links from the specified link definition

[0307] (3) All Paths

[0308] Input: Source object, Destination object, Link classes' definition

[0309] Return value: All the paths between the specified objects including the specified links

[0310] (4) Shortest Path

[0311] Input: Source object, Destination object, Link classes' definition

[0312] Return value: The shortest path between the specified objects including the specified links

[0313] (5) Closest host

[0314] Input: host, TQL specify the target hosts

[0315] Output: The closest host

[0316] (6) Route

[0317] Finds the IP route between two hosts. The route function calculates the path between the source and the destination using the available information in the Information Base (This function is different than the well known Traceroute function that requires connectivity when it is invoked). The route function looks for the relevant route and container links in the Information Base. The path will always be in the format as shown in FIG. 16 : Host, its IP, route to some router IP, then the router, its IP that points to the next IP etc. etc. until the IP and the destination host.

[0318] (7) Layer2

[0319] Finds the Layer2 trail between two hosts. FIG. 17 shows an example of Layer2 trails.

[0320] In order to detect the real cause of network problems one should know the physical path between the Source and the Destination. The physical path is calculated by the Layer2 TQL function that uses the userconn and backbone links between hosts and switches interfaces.

[0321] i) Operational Modes

[0322] (1) Registration

[0323] Browse the TQL Lib for Existing TQL

[0324] TQL Registration and Activation/Deactivation

[0325] Define the TQL Result set—By Class, By TQL Node

[0326] (2) Events

[0327] Listen to Registered TQL Changes (New, Del, Modify of specific Result Set)

[0328] Listen to TQL Bulk Change Event (and then get the TQL result)

[0329] Listen to TQL has data Event (Use in Events TQL)

[0330] (3)Queries

[0331] Check if Registered TQL has data

[0332] Get Result By Registered TQL

[0333] Query for Subset of the TQL—By Class, By TQL Node, By Tag

[0334] Check if specific Object is in TQL

[0335] Query the Links of specific object in the TQL context

[0336] (4)Ad-hoc mode

[0337] Get Result By Ad-hoc TQL

[0338] Get Result by Ad-hoc TQL Edge function

[0339] Other modifications and variations to the invention will be apparent to those skilled in the art from the foregoing disclosure and teachings. Thus, while only certain embodiments of the invention have been specifically described herein, it will be apparent that numerous modifications may be made thereto without departing from the spirit and scope of the invention. 

What is claimed is:
 1. A topology information system, comprising: a topology collection sub-system including at least one topology discovery agent, said topology collection sub-system automatically collecting topology information from at least one topology layer of at least one managed world; a topology database, that is adapted to store the topology information collected by said topology collection sub-system; and a topology query sub-system adapted to query the topology information stored in said topology database using a topology pattern query created by a user.
 2. The system of claim 1 further comprising a topology correlation sub-system that is adapted to monitor said topology database for changes that indicate faults within the managed world.
 3. The system of claim 2 where the correlation sub-system uses the topology information to correlate between the faults.
 4. The system of claim 1 further comprising a topology viewing sub-system adapted to display a view of any subset of topology objects
 5. The system of claim 1, wherein the topology collection sub-system is self-maintaining.
 6. The system of claim 1, wherein the system provides the user with an ability to teach the system how to discover, recognize and view the managed world.
 7. The system of claim 1, wherein the system adapts to any change in the managed world utilizing its learned knowledge.
 8. The system of claim 5, wherein the topology collection sub-system interrogates proxies corresponding to at least one topology discovery agent (TDA) and automatically deploys additional TDAs and TDAs tasks according to topology query language (TQL) triggers.
 9. The system of claim 5, wherein TDAs corresponding to tasks that are decommissioned are removed.
 10. The system of claim 1, wherein at least one topology pattern is defined using a topology query language (TQL).
 11. The system of claim 4, wherein the topology viewing sub-system further comprises at least one display rule that enables the user to define how the topology objects are to be displayed.
 12. The system of claim 11, wherein the at least one display rule enables the user to personalize views and the manner in which topology objects are displayed.
 13. The system of claim 11, wherein the at least one display rule is used to automatically organize any set of topology objects in a hierarchy of viewing layers.
 14. The system of claim 11, wherein the viewing sub-system is self-maintaining.
 15. The system of claim 12, wherein the personalization enables the user to setup an icon, label, status, an event, a command of each topology object per service view or layout of any viewing layer.
 16. The system of claim 1, wherein the topology database is an object-oriented graph, further wherein vertices of the graph represent objects and the edges represent links between the objects.
 17. The system of claim 3, wherein at least one class model is created that define an information base that represents the managed world.
 18. The system of claim 17, wherein the class model is extendible.
 19. The system of claim 17, wherein the class model definition includes objects, links and all available relationships between topology objects.
 20. The system of claim 17, ( wherein the topology collection sub-system is used to populate the information base.
 21. The system of claim 20, wherein the query is applied to the information base to create a knowledge base.
 22. The system of claim 21, wherein the knowledge base is organized using at least one display rule.
 23. The system of claim 22, wherein the query is in a topology query language (TQL).
 24. The system of claim 22, wherein the display rule is a independent link rule.
 25. The system of claim 22, wherein the display rule is a group by rule.
 26. The system of claim 22, wherein the display rule is a folder rule.
 27. The system of claim 22, wherein the display rule is a general rule related to algorithms for a multi-layer hierarchy
 28. The system of claim 24 wherein the independent link rule is based on a triangle formed from a object class, a link class and another object class.
 29. The system of claim 22, wherein the display rule is an indirect link rule.
 30. The system of claim 29 wherein an indirect link is a path comprised of multiple links.
 31. The system of claim 2, wherein said correlation sub-system further comprises at least one event rule that converts an event to an object format.
 32. The system of claim 2, wherein said correlation sub-system further comprises at least one time rule that controls events and objects life cycles.
 33. The system of claim 2, wherein said correlation sub-system further comprises at least one event rule that controls a life cycle of an event.
 34. The system of claim 2, wherein said correlation sub-system further comprises at least one topology rule that propagates a state of at least one object to its neighbor's correlation state.
 35. The system of claim 23, wherein said correlation sub-system comprises at least one event TQL rule that searches for problems using TQL definition of objects, links and events, wherein said events are also represented as objects.
 36. The system of claim 2, wherein said correlation sub-system further comprises a root cause detection utility.
 37. The system of claim 1, wherein said topology query sub-system is self-maintaining.
 38. The system of claim 1, wherein said topology query sub-system reacts to any input from said collection sub-system.
 39. The system of claim 10, wherein said topology query sub-system updates users of any changes in a TQL result set.
 40. The system of claim 36, wherein the root cause detection utility provides root cause information based on an information base and correlation states.
 41. The system of claim 40, where the root cause detection utility is provided as an API that is exported by said topology correlation sub-system.
 42. The system of claim 41, wherein an input to the root cause detection utility is an object that has some problems and an output of the root cause detection utility is at least an object that is suspected as being a root cause of the problem.
 43. The system of claim 36, wherein using the root cause detection utility, a user can query the system regarding a hypothetical faulty scenario.
 44. A topology query language (TQL) system for querying a topology database, said system comprising: at least one TQL pattern.
 45. The system of claim 44 wherein the system further comprises a library to store the at least one TQL pattern.
 46. The system of claim 44, wherein said TQL pattern has an owner that creates and controls the TQL pattern.
 47. The system of claim 44 wherein the TQL pattern includes at least one node.
 48. The system of claim 47, wherein if the TQL pattern includes at least one edge, then it must contain more than one node.
 49. The system of claim 44, wherein the system comprises at least one operator.
 50. The system of claim 49, wherein said operator is a single attribute operator that is compatible with any SQL operator.
 51. The system of claim 49, wherein said operator is an object statistics operator or a class operator.
 52. The system of claim 49, wherein said operator is Any operator.
 53. The system of claim 49, wherein said operator is an attribute expressions operator.
 54. The system of claim 44, wherein said system provides for variables.
 55. The system of claim 48, wherein said at least one edge connects two nodes.
 56. The system of claim 48, wherein said system further includes at least one edge function that defines a relationship between two nodes.
 57. The system of claim 56, wherein the relationship is an indirect relationship in the topology database.
 58. The system of claim 56, wherein the edge function returns an output that is a path of objects and links between input nodes of the edge function.
 59. The system of claim 56, wherein the system includes at least one edge constraint that define constrains on a number of instances in each direction of the edge.
 60. The system of claim 44, wherein the system provides for at least one operational mode.
 61. A topology viewing system adapted to display at least a view of a topology data, wherein the system comprises at least one display rule, the display rule being capable of organizing views corresponding to the topology data in multiple layers.
 62. The viewing system of claim 61, wherein the display rule enables the user to personalize views corresponding to topology objects.
 63. The viewing system of claim 61, wherein the display rule is used to automatically organize the managed world in a hierarchy of viewed objects.
 64. The viewing system of claim 63, wherein the system is self-maintaining.
 65. The viewing system of claim 61 wherein the display rule is a topology query language organization rule that defines link rules for the topology query language.
 66. The system of claim 61, wherein the display rule is an independent link display rule.
 67. The system of claim 61, wherein the display rule is a group by rule.
 68. The system of claim 61, wherein the display rule is a folder rule.
 69. The system of claim 61, wherein the display rule is a general rule related to algorithms for multi-layer hierarchy.
 70. The system of claim 66 wherein the rule is based on a triangle formed from a class, a link and another class.
 71. The system of claim 12, wherein the display rule is a TQL link rule. 